package com.six.mapper;

import com.six.domain.entity.SysDict;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface SysDictMapper {
    int insert(@Param("d") SysDict dict);
    int updateById(@Param("d") SysDict dict);
    int deleteById(@Param("id") Long id);
    SysDict selectById(@Param("id") Long id);
    List<SysDict> selectByType(@Param("type") String type);
    int deleteByType(@Param("type") String type);
}